#!/bin/bash
srv=${1};
cmd=${2};
if [ -z $srv ]; then
        echo "Error: missing service name!";
else
        /etc/rc.d/rc.$srv $cmd;
fi

